# Maintainer: Matthew "Madness" Evan <mattmadness@420blaze.it>

pkgname=sapphire-branding-git
pkgver=2021.07.28
pkgrel=1
pkgdesc='Sapphire Linux Branding'
arch=('any')
license=('CC-BY-SA4')
url='https://sapphire.codeberg.pages'
makedepends=('git')
source=(git+https://codeberg.org/Sapphire/branding.git)
sha256sums=('SKIP')
#source=("https://codeberg.org/Sapphire/branding/archive/$pkgver.tar.gz")
#sha256sums=('98e8d42feb93b58a7abed88a7df66ea1028e38104bd61ca08a96f549d9c935e2')

package() {
  cd "$pkgdir"
  
  # Install backgrounds
  mkdir --parents usr/share/backgrounds/sapphire
  cp -r ${srcdir}/branding/wallpapers/* usr/share/backgrounds/sapphire/
 
  # Install sounds
  mkdir --parents usr/share/music/sapphire
  cp -r ${srcdir}/branding/music/* usr/share/music/sapphire/

  # Install logos
  mkdir --parents usr/share/pixmaps/sapphire/logos
  cp -r ${srcdir}/branding/logos/* usr/share/pixmaps/sapphire/logos
}
